package com.ruoyi.app.domain.user;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

/**
 * 描述
 * 作者 ZhangPing
 * 创建时间 2023/9/27 14:14
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class Register {

    @ApiModelProperty("用户名")
    @NotEmpty(message = "用户名不能为空")
    private String username;
    @ApiModelProperty("手机号")
    @NotEmpty(message = "手机号不能为空")
    private String mobile;
    @ApiModelProperty("短信验证码")
    @NotEmpty(message = "短信验证码不能为空")
    private String codeSMS;
    @ApiModelProperty("密码")
    @NotEmpty(message = "密码不能为空")
    private String password;
}
